home *** CD-ROM | disk | FTP | other *** search
- /*
- * ------------------------------------------------------------------
- * Home Libarian 1.0B by Deepwoods Software
- * ------------------------------------------------------------------
- * TkvBTree.h - Tcl/Tk Interface for the vBTree class (defs)
- * Created by Robert Heller on Mon Apr 17 14:03:50 1995
- * ------------------------------------------------------------------
- * Modification History:
- * ------------------------------------------------------------------
- * Contents:
- * ------------------------------------------------------------------
- *
- * Home Librarian Database -- a program for maintaining a database
- * for a home library
- * Copyright (C) 1991-1995 Robert Heller D/B/A Deepwoods Software
- * 51 Locke Hill Road
- * Wendell, MA 01379-9728
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- *
- *
- */
- #ifndef _TKVBTREE_H_
- #define _TKVBTREE_H_
-
- #include <String.h>
-
- #include <tcl.h>
- #include <tclExtend.h>
-
- #include <iostream.h>
- #include <strstream.h>
- #include <vBTree.h>
- #include <ctype.h>
-
- class TkvBTree {
- public:
- String FileName;
- vBTree Tree;
- OpenMode _mode;
- TkvBTree(char *filename,OpenMode mode = ReadOnly,
- int nfree = MaxNumFree / 10);
- ~TkvBTree();
- int TclFunction(Tcl_Interp *interp,int argc, char *argv[]);
- static void_pt Handles;
- };
-
- #endif // _TKVBTREE_H_
-
-